import { axios } from '@/utils/request'

const api = {
  userCenterList: '/user-center/list',
  userCenterEdit: '/user-center/edit'
}

export default api

export function userCenterList (parameter) {
  return axios({
    url: api.userCenterList,
    method: 'get',
    params: parameter
  })
}
export function userCenterEdit (parameter) {
  return axios({
    url: api.userCenterEdit,
    method: 'post',
    data: parameter
  })
}
